﻿using Estsh.Core.Base;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Estsh.Core.Model.Extend.Models
{
    /// <summary>
    /// 发运记录，数据实体对象
    /// </summary>
    [Table("shipping_log")]
    [Serializable]
    public class SysShippingLog : BaseEntity
    {
        [Column("shipping_no")]
        [DisplayName(" ")]
        public string ShippingNo { get; set; }

        [Column("part_no")]
        [DisplayName(" ")]
        public string PartNo { get; set; }

        [Column("rack_no")]
        [DisplayName(" ")]
        public string RackNo { get; set; }

        [Column("carton_no")]
        [DisplayName(" ")]
        public string CartonNo { get; set; }

        [Column("qty")]
        [DisplayName(" ")]
        public decimal? qty { get; set; }

        [Column("logistics_code")]
        [DisplayName(" ")]
        public string LogisticsCode { get; set; }

        [Column("box_weight")]
        [DisplayName(" ")]
        public decimal? BoxWeight { get; set; }

        [Column("all_cost")]
        [DisplayName(" ")]
        public decimal? AllCost { get; set; }

        [Column("shipping_type")]
        [DisplayName(" ")]
        public int ShippingType { get; set; }
    }
}
